class CreateTopicCategories < ActiveRecord::Migration
  def self.up
    create_table :topic_categories, :force => true do |t|
      t.string :name
      t.text :description
      t.integer :price
      t.integer :quantity

      t.integer :category_id
      t.string :category_type

      t.timestamps
    end
  end

  def self.down
    drop_table :topic_categories
  end
end
